﻿namespace FastCode.DTO
{
    public class QueryBase
    {
        
        public int pageIndex { get; set; } = 1;
        public int pageSize { get; set; } = 20;

        public List<SearchCondition>? SearchConditions { get; set; } // 添加这个属性用于存储搜索条件

    }

    public class SearchCondition
    {
        public string? Label { get; set; }

        public List<ConditionalModel> ConditionalModels { get; set; }
        //public string? ConditionType { get; set; }
        //public object? Value { get; set; }

        public EUIType ControlType { get; set; }
    }

    //public enum ConditionType : byte
    //{
    //    Equal = 0,
    //    Contains = 1,
    //    // 添加其他条件类型
    //}
}
